账号信息

姓名: ala see
邮箱: qq
密码:l

用户名, 密码
nao nao
root root

(常用端口 ftp 21ssh 22telnet 23smtp 25)

sudo

Sudo and root permissions¶

sudo is available on NAOqi OS. Its usage is limited for shutting down Aldebaran robot.

$ sudo shutdown -h now
For any others commands requiring root permissions, you will have to use su and authenticate using the root user password.

Nao基本信息

系统版本

Naoqi 2.1.2.17 (两个机器人都是这个版本)
自动更新:: 我已经下载了系统版本 2.1.4.13。请重新启动我以便安装它。(断手机器人)

cat /proc/version
Linux version 2.6.33.9-rt31-aldebaran-rt (portage@bnob-2) (gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) ) #1 SMP PREEMPT RT Fri Nov 21 10:50:40 CET 2014

我的opennao虚拟机中的版本是 (portage@bnob-3)

‘’’

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU Z530 @ 1.60GHz
stepping : 2
cpu MHz : 1600.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr pdcm movbe lahf_lm tpr_shadow vnmi flexpriority
bogomips : 3191.62
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 32 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU Z530 @ 1.60GHz
stepping : 2
cpu MHz : 1600.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr pdcm movbe lahf_lm tpr_shadow vnmi flexpriority
bogomips : 3191.83
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 32 bits virtual
power management:

df -lh
Filesystem Size Used Avail Use% Mounted on
rootfs 886M 807M 35M 96% /
/dev/root 886M 807M 35M 96% /
rc-svcdir 1.0M 92K 932K 9% /lib/rc/init.d
cgroup_root 10M 0 10M 0% /sys/fs/cgroup
udev 10M 124K 9.9M 2% /dev
tmpfs 502M 1.1M 501M 1% /dev/shm
tmpfs 502M 1.1M 501M 1% /var/volatile
/dev/mmcblk0p1 15G 1.1G 13G 8% /var/persistent
/dev/sda1 124M 6.8M 111M 6% /var/persistent/media/internal

top - 16:42:02 up 8:47, 2 users, load average: 1.76, 1.40, 1.13
Tasks: 149 total, 1 running, 148 sleeping, 0 stopped, 0 zombie
Cpu(s): 52.9%us, 10.8%sy, 0.0%ni, 14.1%id, 17.6%wa, 2.3%hi, 2.3%si, 0.0%st
Mem: 1026636k total(1G), 1010188k used, 16448k free, 81196k buffers
Swap: 0k total, 0k used, 0k free, 454308k cached

Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 907096 826444 34572 96% /
/dev/root 907096 826444 34572 96% /
rc-svcdir 1024 92 932 9% /lib/rc/init.d
cgroup_root 10240 0 10240 0% /sys/fs/cgroup
udev 10240 124 10116 2% /dev
tmpfs 513316 2800 510516 1% /dev/shm
tmpfs 513316 2636 510680 1% /var/volatile
/dev/mmcblk0p1 15312852 1365068 13169928 10% /var/persistent
/dev/sda1 126931 6905 113473 6% /var/persistent/media/internal
total 18302111(18G) 3030513 14395029 18%

32位系统 (运行: getconf LONG_BIT)

Base commands and programs

htop monitor process activity (many options are available use F1)
ldd list library dependencies
gdbserver start a remote gdb server